from django.contrib import admin
from bpk.models import Author, Category, Materials, Section

class MaterialsAdmin(admin.ModelAdmin):
	filter_horizontal = ('authors',)
	list_filter = ('post_date',)
	raw_id_fields = ('section',)


admin.site.register(Author)
admin.site.register(Category)
admin.site.register(Section)
admin.site.register(Materials,MaterialsAdmin)
# Register your models here.
